/**
 * Created by 小敏哥on 2017/3/8.
 */
import {YEARLY_CHECK_INFO} from "../actions/actionsTypes";

export default function calculatorReducer(state = {}, action) {
    switch (action.type) {
        case YEARLY_CHECK_INFO:
            return Object.assign({}, state, {yearlyCheckInfo: action.data});
        default:
            return state;
    }
}